package ${basePackage}.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

import com.forester.foresterplatform.system.entity.BaseEntity;
import org.springframework.data.annotation.Id;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("${tableName!}")
public class ${className!} extends BaseEntity {

    /**
    * 主键
    */
    @Id
    private Long id;

<#list fields as field>
    /**
    * ${field.comment}
    */
    private ${field.type.javaType} ${field.name};

</#list>
}